projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc4dadf
)
Fix some flaky tests on the buildbots
author
Alex Crichton
<alex@alexcrichton.com>
Tue, 19 Aug 2014 18:51:02 +0000
(11:51 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Tue, 19 Aug 2014 18:52:34 +0000
(11:52 -0700)
src/cargo/sources/git/utils.rs
patch
|
blob
|
history
diff --git
a/src/cargo/sources/git/utils.rs
b/src/cargo/sources/git/utils.rs
index 61577b50c01f88e84fe5105648551536b0732782..b92517514c325fa77ba814c37558eed01e3606fd 100644
(file)
--- a/
src/cargo/sources/git/utils.rs
+++ b/
src/cargo/sources/git/utils.rs
@@
-289,8
+289,11
@@
impl GitCheckout {
fn update_submodules(&self) -> CargoResult<()> {
git!(self.location, "submodule", "sync", "--quiet");
- Ok(git!(self.location, "submodule", "update", "--init",
- "--recursive", "--quiet"))
+ // Sadly older versions of git don't actually respect --quiet for *all*
+ // operations and still print some thing here and there.
+ git_output!(self.location, "submodule", "update", "--init",
+ "--recursive", "--quiet");
+ Ok(())
}
}